/*    */ package com.zimbra.cs.account;
/*    */ 
/*    */ import java.util.Map;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class CalendarResource
/*    */   extends ZAttrCalendarResource
/*    */ {
/*    */   public CalendarResource(String name, String id, Map<String, Object> attrs, Map<String, Object> defaults, Provisioning prov)
/*    */   {
/* 28 */     super(name, id, attrs, defaults, prov);
/*    */   }
/*    */   
/*    */   public Entry.EntryType getEntryType()
/*    */   {
/* 33 */     return Entry.EntryType.CALRESOURCE;
/*    */   }
/*    */   
/*    */   public String getResourceType() {
/* 37 */     return getAttr("zimbraCalResType", "Location");
/*    */   }
/*    */   
/*    */   public boolean autoAcceptDecline() {
/* 41 */     return getBooleanAttr("zimbraCalResAutoAcceptDecline", true);
/*    */   }
/*    */   
/*    */   public boolean autoDeclineIfBusy()
/*    */   {
/* 46 */     return getBooleanAttr("zimbraCalResAutoDeclineIfBusy", true);
/*    */   }
/*    */   
/*    */   public boolean autoDeclineRecurring()
/*    */   {
/* 51 */     return getBooleanAttr("zimbraCalResAutoDeclineRecurring", false);
/*    */   }
/*    */   
/*    */   public int getMaxNumConflictsAllowed()
/*    */   {
/* 56 */     return getIntAttr("zimbraCalResMaxNumConflictsAllowed", 0);
/*    */   }
/*    */   
/*    */   public int getMaxPercentConflictsAllowed() {
/* 60 */     return getIntAttr("zimbraCalResMaxPercentConflictsAllowed", 0);
/*    */   }
/*    */   
/*    */   public String getLocationDisplayName() {
/* 64 */     return getAttr("zimbraCalResLocationDisplayName");
/*    */   }
/*    */   
/*    */   public String getSite() {
/* 68 */     return getAttr("zimbraCalResSite");
/*    */   }
/*    */   
/*    */   public String getBuilding() {
/* 72 */     return getAttr("zimbraCalResBuilding");
/*    */   }
/*    */   
/*    */   public String getFloor() {
/* 76 */     return getAttr("zimbraCalResFloor");
/*    */   }
/*    */   
/*    */   public String getRoom() {
/* 80 */     return getAttr("zimbraCalResRoom");
/*    */   }
/*    */   
/*    */   public int getCapacity() {
/* 84 */     return getIntAttr("zimbraCalResCapacity", 0);
/*    */   }
/*    */   
/*    */   public String getContactName() {
/* 88 */     return getAttr("zimbraCalResContactName");
/*    */   }
/*    */   
/*    */   public String getContactEmail() {
/* 92 */     return getAttr("zimbraCalResContactEmail");
/*    */   }
/*    */   
/*    */   public String getContactPhone() {
/* 96 */     return getAttr("zimbraCalResContactPhone");
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/account/CalendarResource.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */